adding misc2.cpp