(almost) back to original on rate_estimate.rb