Added retrieve by number of pages