Main Search Three Phases