change loop to list all pages, limit of 20