added namedtuple for atoms