add dp and prepare to create a branch.
some list problem. and more convenient for commit.