reformatting response