do not shadow function sum()