docs, typo and better indentation