corrected code indents