diff --git a/cli/src/commands/whoami.js b/cli/src/commands/whoami.js
deleted file mode 100644
index ec108fdef6c7646d632eeca34c5a5fc458382039..0000000000000000000000000000000000000000
--- a/cli/src/commands/whoami.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// @flow
-const path = require("path");
-const chalk = require("chalk");
-
-const handleErrors = require("../utils/handleErrors");
-
-module.exports.command = "whoami";
-module.exports.describe = "test commands";
-
-module.exports.builder = (yargs: any) => yargs;
-
-const PORT = 20000;
-const MULTICAST_ADDR = "233.255.255.255";
-const HOST = "172.22.158.15";
-
-const dgram = require("dgram");
-const process = require("process");
-
-const socket = dgram.createSocket({ type: "udp4", reuseAddr: true });
-
-socket.bind(PORT);
-
-function sendMessage() {
-  const message = Buffer.from(`cli  ${process.pid}`);
-  socket.send(message, 0, message.length, PORT, HOST, function() {});
-}
-
-module.exports.handler = handleErrors(async (argv: {}) => {
-  console.log("Sending message to introducer")
-  await sendMessage();
-  process.exit(0);
-});
diff --git a/inroducer/index.js b/inroducer/index.js
index 796b4b085b011e1b4fcbe45fb27d2a996f662c4c..4cd09d68c8c73a6415e439ce277930e46b831bff 100644
--- a/inroducer/index.js
+++ b/inroducer/index.js
@@ -148,6 +148,7 @@ socket.on("message", function(message, rinfo) {
 
   if (text[0] === "dead") {
     console.log("Killed " + text[1].toString()[0])
+    const ondLength = machines.length 
     machines = machines.filter(m => m.toString()[0] !== text[1].toString()[0]);
     getPairings(machines);