rating functionality is now working