add printAgent
//for test