style fixes + harmonize code examples