Baisc implementation from an exercise clock.