Added buggy greedy