reformat data results