added relative rotation and scale