working on classes pagenav