Cleanup on switch
Functioning clock