added print debug statements for interrupts