Change `sum` to `foo` in example