Timer functions are a bit more safer to use. Now you have to initialize a timer before you start the timer.