T13: Shweta: Changed the rating type from integer to double