Add a timer to control time