Corrected sum to be correct