Create method.cpp