Added getGenerationId