public void declareInlet(String varName, String functionName) {
		// map a variable to an inlet
		MaxField newField = new MaxField(parent, varName, functionName);
		// System.out.println("adding field");
		inlets[nInlets++] = newField;
		//System.out.println("announcing inlet " + (nInlets-1) + ", " + newField.toString());
		announceNewInlet(nInlets - 1, newField);
	}