added a PacketManager