make interrupts a bit more generic (just a bit)