some changes in the code and readme file

some changes in the code and readme file