add:some old code of data_structure