finally got the clock to work