applying search