adding output reformat