gets a basic clock working