adding gem structure