correcting code indentation