Fixed code indentation and method name spelling.