rewrite of the transmitter - it works!