Removed unnecessary sum operator