renamed getQueryParameter to getQueryParameters