refactoring from assignment misspelling