Working clock added, only need to polish it up