add pagination to the features