Switched it to loop instead of stopping at the end