segment<I,O> documentation added