pub fn gmode(atoms: &[SAtom]) -> &SAtom