indentation fix
updated example with correct function call