use reduce() instead of sum(map()) to do sum of prices