implemented the C_IRQ_Handler