implemented front-end rating