combined port lines into a single line