README.md example updated; example updated; Removed support for setting functions as argument