[proof reading search] completed greedy method