Added code for simulating return rates.