refine returned object