work on class rating part