gotthe clock working correctly