solved movt while transformation