change to sumdiffproduct.rb