modified discussion adding verifying pagination on page