added unsafe1.cpp and unsafe2.cpp