remove unused code
this pagination is the opposite of what logic dictates but it works??