not vectorized sum added