added restriction to no more than five possible ratings, all tests passed