Code from C++ class FVTC