searchLogic header file