set up interrupts