timer now alerts at the right time