add 'query' method instead of 'path?'