corrected teste.cpp from merging.