WIP: working on BP C++ code