retested the main function with out restart the file;
write up the simple usage part