swap lines