update readme
add unit test
change method name