Fixing typo in function declaration