Changes to sum