Removed the clock variable from the program as it wasn't being used.