started implementing irq handler