renamed the function and variable

renamed the function and variable
modified the example code
modified the README