adding method to make querystring