replace long id with Timer class