Added relative position transformation