Changed rating calculation