working with ratings
minor fixes