spelling error in function name