Fixed .cpp file