make some change in main.cpp and readme