Added duplex calculating