Looping between times now works