switch (mode) {
case UniformPacket.tHOME:
ekeypacket = new HomePacket(deliminator, lastpacket);
break;
case UniformPacket.tMULTI:
ekeypacket = new MultiPacket(deliminator, lastpacket);
break;
default: // default configuration is the rare packet
ekeypacket = new RarePacket(lastpacket);
break;