updated comms to handle large packets