modified test.cc