Calculate only what we will use (thanks atom!)