validation and scopes