enabled interrupts in mainr