Changed name to get_pages(). More work to be done