t",
    delay: messageDisplayTime,
    emptyDisplayString: "Queue is now empty..."
  });

  function run(){
    var TEN_SECONDS = 10000;

    //add sequence of messages to queue
    messageQueue.push("message 1");
    messageQueue.push("message 2");
    messageQueue.push("message 3");
    messageQueue.push("message 4");
    messageQueue.push("message 5");

    //add a delayed message
    setTimeout(function(){
      messageQueue.push("This is a delayed message!!");
    }, TEN_SECONDS);
  }

  document.getEl