merge CD into line