proper Indentations and small error fix