add documentation/fix typo