Sending packet is coded. Needs to be tested.