possiblity to add counPerPage and startIndex