implemented IRQ7 handler