now passing queryString directly to client