return the object from setReturnPath