Added Generation to the MainMiner