fetches the right pages