move and rotate works