Modified transmitter and receiver code to work with our setup