modify function
input pageinfomation