Pi and adding variables