added simple.cpp