 			FlxG.state.add(upperLayer = new FlxGroup());
 		}
 		
+		private function addWire(w:Wire, fixed:Boolean = true):void {
+			w.FIXED = fixed;
+			Wire.place(w);
+			
+			var displayWire:DWire = new DWire(w);
+			midLayer.add(displayWire);
+			displayWires.push(displayWire);
+		}
+		
 		private function addModule(m:Module, fixed:Boolean = true):void {
 			if (!m) return;
 			

			return reactionStack.pop().execute();
		}
		
		
		protected const MODE_MODULE:int = 0;
		protected const MODE_CONNECT:int = 1;

	public class LevelState extends FlxState {
		
		protected var tick:int;
		protected var savedString:String;
		
		public var lowerLayer:FlxGroup;
		public var midLayer:FlxGroup;
