Added pagination to deferred