major refactoring, first seach completed, missing loopSearch