parsing the querystring