interrupts: Addede user-defined interrupt handling