modify return object