added method to allow adding of a list of pages.