fix a typo. add some documentation.