kept timer functions in place