Packet handler now actually works