updated gem structure