Added example timed loop