adding first_page, last_page etc.