typo in doc
neater code example