del wrong code chk.cpp from internet