Function name typo fixed