commit updated for test.cpp