Add inline documentation
Indent code blocks in doc comments
Use ternary function