adding segment tag