this should be numPages