Added the different rating functions