added greedymaxcover