typo
indent and remove commented outdated code