fixed up the irqcatch exercise