add some comment and delete unuseful output info