pagination works
done with pagination