added a rating feature