Added rating compution