Update README.md

Updated the structure of the functions.