corrected indentions and reomved console logs