small fix
Implementation of the timer functionality