Added IRQ and ISR code