add support of pagination
update context
update method to choose the getAllByRange
update size
compilation