Corrected typo in function call