rewrote move and rotate. commented old methods