Added a greedy part