variable name typo fixed