fixed function name in code example