implements basic clock view -- task 1