Broke out Rate into separate class