Added info to track the number of generations and modified the display to show it