Implemented ticking clock.