standardizing return data