Updated Interrupt Code