Updated the timer to run every 12 ms