fleshed out some of the c++ base