Add generation number to output