X g^i