working page by page instead of countries