add docs and related items actually working