initial multi-page results code