new: implemented in C++
new: add GTEst code