modifying pagination
pagination working on servers