Added IRQs -- not currently working properly.