Refactoring Code

Fixing Typos