preparing for pagination and requesting parts of data