implemented new IRQ handler registering method