Corrected indentations after for loop added.