moving works in loop