corrected code indenting