added gem structure