Removed all .reduce() occurences.