removed obsolete method wrapAtom()