changes for rate control