Implemented simple search strategy.