timer class added