put some initial testing c++ code in