Fully working paginator, but some details are still missing