removing old c++ code