a clock tick-tocks repeatedly