modify timer class