First commit for cp.cpp