correcting a function name