public void processInput(Atom[] atoms) {

		Stack args = AtomUtils.makeStack(atoms);

		Atom firstArg = (Atom) args.pop();

		if (firstArg.toString().equals(name)) {
			Atom atom = (Atom) args.pop();
			String secondArg = atom.toString();

			if (secondArg.equals(LinkConstants.IO_QUERY_MESSAGE)) {
				announceIOInfo();
			} else {
				System.out.println("unknown input: " + atom.toString());
			}

		} else if (firstArg.toString().equals(LinkConstants.WHO_QUERY_MESSAGE)) {
			// respond to "who" query by sending name, nInlets, nOutlets
			announceApplet();
			//announceIOInfo();
		} 
	}