renamed getQueryParams() to getQuery()