changed cp.cpp