v0.1,delete useless code and add doc string