tidy up and new functions, btter readme.md