Made clock better

Added comments too!