Typo and renamed variable for clarrification