Added variable for idr_rate