seemingly correct pagination