add pages for each class