typo's & fixed code indentation