add gem structure