removing function map from cpp file