added scopes and validates