working get paged data function
make calls in individual functions
merge conflict