Put loop control in the correct place!