make timer work