Removed sum redeclaration.