smoothed out the rate switching a bit