make use of querystring to format response