==, not =, and use correct reference for  scope.