need to add methods for handling paging