Update simple.cpp