Changed to a check since position loop needs to restart at 4