add subpacket structure