updated terminal exchange to reflect newer protocol