added mian.cpp