Loop only goes around once before stopping because the clock timer is not reset at the end of a loop.