updated to use QUERY_PARAMS.getlist