* New command search algorithm