A simple program with timers