Refactor for spelling mistakes