refactor function prefix name
fix function name
add docs for the setup variables