add docs to private method