You are also adding the previous result and the result becomes 40 ...