gem structure