segment docs and separation