corrected the code indentation