Transmitter skeleton code