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