duplex stream sample added