changed function name typo