timer now working