complete methods to pull pages and creat arraylist