add tmode to psuedoclient