done work on the rating system