add support for pages