pages to course object