Building Blocks of Automation%3A Understanding Atomic Action in Functions