Add some code of datastructure