Implement basic time loop.