getting interrupt number