old transmitter code