made sure to disable interrupt