Added paging to queues