Setup clock.