self.search convert to scope