Forgot to switch to next instead of return after adding looping logic