few  changes to timer class

few  changes to timer class