add support for query params