DONE COMMIT. 3.4. maxSum