pagination contracts