Add new functions and write README.md