add some c++ structure