working on the rate process