added a few minor tweaks to atomic.py