fix #2: fix a problem with function object, update readme.md