added compile.cpp