added c++ code