starting the framing for the new search algorithm