Changed stringpacket to packet, will add header data to get type instead