fixed typo and add docs