Adding irq handler