public Quest assignQuest(Node holder) {
    
    Quest quest;
    String name;
    
    try {
      name = ((Interactable) holder).model.getUserData("Name");
      }
    
    catch (ClassCastException e) {
      name = ((Npc) holder).model.getUserData("Name");  
      }
    
    if (name.equals("Tester")) {
      quest = new TestQuest(stateManager, holder);
      }
    
    else if (name.equals("TestWell")) {
      quest = new TestWell(stateManager, holder);  
      ((Interactable) holder).contactMessage = "Looks like an old well";
      }

    else if (name.equals("TestBucket")) {
      quest = new TestBucket(stateManager, holder);
      ((Interactable) holder).contactMessage = "Looks like an empty bucket";
      }
    
    else {
      return null;
      }
    
    return quest;
    }