move to greedy