add duplex to client side