add data struct.

you should modify your data struct/object by using c++.