gem simplification