reformat temp data