Added the Rates class