Fixing typo in function names