sum instead of maximum for marking scheme