added comments/started greedy