Made it possible to change the rate from the Constants class.