tweaks to compute_rates