Mistakingly listed all values instead of calculating the sum