Some changes to the structure of greedy