Code formatting
Misspellings fixed
renamed methods