Rating functionality added, not working properly though