changed control section of packet to char pointer to allow for memory pre allocation