adding paging to tasks inquiry