Added a generation counter print