Changed to get pages of 1000