duplex transformation