Atempt to create a tick method for the clock - fixed