link(Atom args[]) {
		
		if (args.length == 1) {
			nInlets = 1; 
			nOutlets = 0;
			init(args[0].getString(), this);
		} else if (args.length == 3) {
			nInlets = args[1].getInt();
			nOutlets = args[2].getInt();
			init(args[0].getString(), this);
		} else {
			post("usage: P5Link <applet name> [<nInlets> <nOutlets>]");
		}
	}