mirroring and rotation