updated and tested C++ project