public void checkThenAdd(State state) {
    	String ip = state.getIP();
    	boolean dontAdd = false;
    	for (String a : haveEntered) {
    		if (ip.equals(a)) {
    			dontAdd = true;
    			break;
    			//System.out.println("sorry already added"); //DEBUG
    		}
    	}
    	if (dontAdd == false) {
    		haveEntered.add(ip);
    		addResult(state);
    	}
    }