Finished sender/receiver logic