(edit) edits formatting for returned data