set loop end
erm