use object-literal notation in Clock.