working with rating system