make rates dynamic