writing some minor functions
some minor changes in Readme.md