added in the get rate method