confusion in interrup handler