typo fixed in function name declaration