refactoring status seach