individual segment termination working, external attach and output segments to go