Flow control: rename "sum" variable