gem's structure