added generation count