added support for path params