getting interrupts right