worked on class numbers