simplified paginator class