created a clock for the application