add commnet for Greedy method