added interrupts handler
syntax fix