add functions to read every private variable,NOTE the test program in MAIN function is unusable