change gem structure