changed newclass1.cpp