paging is now abstract out in ui (though the implementation is yet to be done)