this check should be in the request.