Using timers and counters.