added relative x, y, and rotation