creating gem structure