implement clockService