code about list operation by zhaoying