Added loop time system.