added average rating and star rating