modify packet structure to match github