exercises - reduced query string to string