generic number of interrupts