working on formatting the response