Adding initialize to Generation class