Moved exhaustive search to where the other search functions are