framing in the search algorithm