corrected typo in function name