added a new file foo.cpp