Tweak a function name
Add some documentation