adding support for query parameters in the path