wip c++ code added (status report version)