one more intermediate step to pagination