The function comments referenced the wrong parameter name