Adding a page number is not exactly trivial