update to make clock work