upto now i modifiled something which i think donnot effect the terminal test. next step I am gona merge and deduce lot's of functions of page.c