Week 9 HW: Genetic Circuit Design

Tamana Sisodiya · 2026-11-24 · due 2026-11-24

Three neuromorphic genetic circuits, each a single endoribonuclease node: a uveal melanoma classifier tuned until its decision boundary meets the Figure 1 endpoints exactly, a hepatocellular carcinoma classifier built on GPC3 and CYP3A4 with a bias group as its sensitivity knob, and a freshwater eutrophication-risk biosensor whose phosphate sensor is naturally inverted and so needs no inverter stage.

Question 1: Uveal melanoma classifier

One Csy4 node. TNFSF10 drives Csy4; TRPM1 drives a Csy4-cleavable output message. The output survives only where TRPM1 outruns TNFSF10, the corner Figure 1 shades as melanoma.

The node is a two-input perceptron. TNFSF10 sits on the inhibitory arm: the more of it a cell makes, the more Csy4 it makes, and the more output mRNA gets cut. TRPM1 sits on the excitatory arm, producing the output message itself. Output is roughly f(w₂·TRPM1 − w₁·TNFSF10 − θ). The parts list offers one Csy4 and one Csy4_rec_mNeonGreen, so the structure is fixed; what is adjustable is how much DNA of each goes into each transfection group, and that is where the weights live.

Q1 circuit schematic: TNFSF10 promoter drives Csy4, which cleaves the Csy4_rec output message driven by the TRPM1 promoter Q1 circuit schematic: TNFSF10 promoter drives Csy4, which cleaves the Csy4_rec output message driven by the TRPM1 promoter

The Q1 node. The ERN sits in X1, its target message in X2, the arrangement that makes the device respond to both inputs.

DNA recipe

GroupPartConcentration (ng/µL)DNA (ng)What it does
X1Csy450120the ERN, which sets the inhibitory weight w₁
X1mKO250180per-cell marker for the X1 transfection
X2Csy4_rec_mNeonGreen50200the output message, which sets the excitatory weight w₂
X2eBFP250100per-cell marker for the X2 transfection

Total 600 ng, every part at 50 ng/µL. Csy4 is 0.400 of the X1 mass and the output message is 0.667 of the X2 mass. Those two fractions are the entire tuning.

The therapeutic output

In the Wizard, mNeonGreen stands in for the payload, the parts sheet has no therapeutic part, so the fluorophore is the only way to read the node out. In the real construct the payload is a secreted gp100 × CD3ε bispecific T-cell engager: the genetically encoded equivalent of tebentafusp, which pairs a gp100-peptide-directed TCR with an anti-CD3 scFv and is the only FDA-approved therapy for metastatic uveal melanoma.

A secreted engager beats a cell-autonomous killer here for one reason: transfection is never complete. A circuit that expresses hBax kills only the cells it reached. An engager diffuses, recruits cytotoxic T cells, and kills gp100-positive neighbours the vector missed. The classifier decides; the T cells do the work. The cost is that gp100 presentation is HLA-restricted, and HLA-A*02:01 is carried by roughly 45% of uveal melanoma patients, so for the other half the same circuit would carry hBax or GSDMD-NT instead, with the classifier logic unchanged.

What the simulation actually models

The schematic above draws the intended construct, not the simulated one, and the difference matters. In every recipe the Wizard generates, each unit sits behind hEF1a, a constitutive promoter. The slots read hEF1a | Csy4 | L0.T_4560 for the ERN and hEF1a | Csy4_rec | mNeonGreen | L0.T_4560 for the output, so the target site is its own slot ahead of the coding sequence. Nothing in the simulated circuit is driven by TNFSF10 or TRPM1. The parts sheet has no promoter column at all, so this is structural rather than a choice, and every Wizard circuit in this document carries it.

X₁ and X₂ are therefore not transcriptional inputs. They are transfection doses, how much of each group a given cell happened to receive, reported per cell by the two markers, which carry a no_masking flag so they are exempt from ERN cleavage and read out dose honestly. Every heat-map axis in this document is per-cell delivery of a group, recovered by poly-transfection.

That is the right way to characterise a node: one dish sweeps the entire input plane, which is why eighteen runs could map the response surface at all. But it means the step from this circuit to a therapeutic is a promoter swap: hEF1a on the X1 unit becomes the TNFSF10 promoter, hEF1a on the X2 output unit becomes the TRPM1 promoter. What survives that swap is more than it looks. X1 dose sets Csy4 abundance, which is what the TNFSF10 promoter will control, and X2 dose sets output message abundance, which is what TRPM1 will control, so the heat map is a map of output against the two input strengths across their whole range rather than a map of one DNA recipe. Real promoters therefore need no new simulation. They decide which region of this already-measured surface the circuit sits in. The dose test in the falsification section supports that reading, holding a truth table to 0.002 prediction units across a 1.76 times spread in total DNA, although it was run on the XOR circuit rather than this one and so is evidence about the model rather than a measurement of this node. What does not survive is the calibration. Whether TNFSF10 and TRPM1 driven expression lands anywhere usable on that surface is unknown, and a model fitted at hEF1a expression levels need not extrapolate to much weaker ones. Measuring where the real promoters land on this surface is the first wet-lab job, and the dose series proposed in Appendix B is the right experiment to do alongside it.

What the Wizard predicts, and how close that is to Figure 1

Figure 1’s boundary, read off the plot in normalised input units, is X₂ = 0.25 + 1.25·X₁. It meets the left axis at X₂ = 0.25 and leaves the top of the plot at X₁ = 0.60. Those two endpoints are measurable on any Predict heat map, so I used them as the targets: the left-edge is where the half-maximum contour meets the left axis, the top-exit is where it leaves the top.

Tuning went in two stages, because the two knobs are not independent but they are separable in order. The output share of X2 was set first at 0.667 (it moves the left-edge most), then the Csy4 share of X1 was swept from 0.333 to 0.700 while watching the top-exit. At a Csy4 share of 0.400 both land at once: left-edge 0.25, top-exit 0.60. Re-capturing and re-measuring an identical recipe puts the measurement noise floor at ±0.025, so both are matches rather than coincidences.

NeuromorphicWizard Predict heat map for the submitted Q1 circuit, showing output rising towards high X2 and low X1 NeuromorphicWizard Predict heat map for the submitted Q1 circuit, showing output rising towards high X2 and low X1

Predict output for the submitted recipe. Left-edge 0.25, top-exit 0.60.

The endpoints match; the shape in between does not. The measured contour bows above the straight target line by up to 0.29 at X₁ = 0.15, with an RMS deviation of 0.165 across the five sampled points. A single ERN node produces a curved boundary, not a straight one, the product of one saturating transfer function, not a linear sum. The deviation runs in the conservative direction: in the mid-range the circuit calls fewer cells cancerous than Figure 1 would, trading sensitivity for specificity. For a circuit whose output recruits T cells, that is the safer side to err on, but it is a real departure from the target and not something the DNA ratios can remove. Straightening it needs a second node.

Two panels comparing the measured boundary against the Figure 1 target line, and the signed deviation at five points Two panels comparing the measured boundary against the Figure 1 target line, and the signed deviation at five points

Endpoints land exactly; the contour between them bows above the target line, RMS 0.165.

Question 2a: Hepatocellular carcinoma: the markers

Hepatocellular carcinoma is a good target for a classifying cell therapy because the tumour and the tissue it grows in are the same lineage. Anything that keys on “liver” kills liver. What separates the two is not one marker but a pair that move in opposite directions: HCC gains GPC3 and loses CYP3A4.

GPC3 is an oncofetal heparan sulfate proteoglycan, expressed in fetal liver, silenced in normal adult liver, and reactivated in most HCC. In GSE14520, 203 HBV-associated HCC tumours and 203 matched adjacent non-tumour tissues, GPC3 mRNA is 4.82 log₂ units higher in tumour (fold change 12.88, adjusted p = 1.43×10⁻⁷⁹). At protein level it is undetectable in normal liver and benign hepatic lesions while around 72% of HCCs stain positive.

CYP3A4 runs the other way. It is the dominant drug-metabolising enzyme of differentiated hepatocytes and is lost as tumours dedifferentiate. In 35 paired HCC resections, CYP3A4 mRNA fell by a mean of 23-fold in tumour, with a greater-than-tenfold drop in over 75% of subjects; CYP3A4 protein measured 5.5 ± 8.9 pmol/mg microsomal protein in tumour against 34.8 ± 16.5 in paired pericarcinomatous tissue.

Three platforms each, not one

A single cohort on a single array can be a platform artefact rather than biology, so both markers were checked on three independent measurement platforms.

GPC3. GSE14520 on Affymetrix HG-U133A gives log₂ +4.82 across 203 matched pairs. An integrative meta-analysis across cohorts gives a fold change of 12.88, or log₂ +3.69. Semi-quantitative tissue RT-PCR, a different modality again, gives 78.9 ± 35.5 in HCC against 23.8 ± 15.5 in non-HCC liver, log₂ +1.73.

CYP3A4. Hu et al. measured the same 35 paired resections two ways and both agree in direction: qRT-PCR gives a 23-fold mRNA decrease, log₂ −4.52, and LC-MS/MS protein quantification gives 6.3-fold, log₂ −2.66. GSE36376, 240 tumours on the Illumina HumanHT-12 V4.0 beadchip, confirms the direction on a different array platform from GSE14520; that study validated seven downregulated CYP450 genes including CYP3A4 across both datasets.

The magnitudes disagree by up to three log₂ units. That is worth stating rather than hiding, because it determines what the circuit can be tuned on. A design that needed GPC3 to sit at exactly 4.82 log₂ units would already be broken by the second platform. This one is tuned on the direction and the ordering of the two markers, which every platform agrees on, and the threshold is then set by the Bias group rather than by trusting a published fold change.

Forest plot of GPC3 and CYP3A4 log2 fold changes across six independent sources, GPC3 positive and CYP3A4 negative Forest plot of GPC3 and CYP3A4 log2 fold changes across six independent sources, GPC3 positive and CYP3A4 negative

Six independent estimates across six platforms. The directions never disagree; the magnitudes differ by up to three log₂ units.

The classifying scatterplot

The figure below plots both markers in log₂ expression relative to the non-tumour mean, with the circuit’s decision boundary drawn across it. Two things are worth reading off it.

First, either marker alone already separates the classes well (AUC 0.989 for GPC3, 0.990 for CYP3A4), but the pair together does better (0.998), and the gain comes entirely from the boundary being oblique. A cell with moderately raised GPC3 is ambiguous; a cell with moderately raised GPC3 and collapsed CYP3A4 is not. A logic gate thresholding each marker separately cannot express that trade; a weighted sum can, which is the whole argument for using a neuromorphic circuit here rather than an AND gate.

Second, the honest caveat: the individual points are simulated, not real patients. The class means and the fold-changes are taken from the two paired cohorts cited above; the within-class standard deviations are back-calculated from the published effect sizes and p-values, and a tumour-only correlation of r = −0.3 between the markers is assumed on the reasoning that dedifferentiation moves both at once. What the plot shows faithfully is the separation the published data support. What it does not show is the real scatter of real samples, which would need per-sample GSE14520 values. The script that draws it takes a real per-sample table as a drop-in replacement.

Scatterplot of GPC3 against CYP3A4 for HCC and non-tumour liver, with the circuit decision boundary and a histogram of the projection onto it Scatterplot of GPC3 against CYP3A4 for HCC and non-tumour liver, with the circuit decision boundary and a histogram of the projection onto it

GPC3 against CYP3A4, both in log₂ relative expression, with the circuit’s boundary. Panel B projects every sample onto the decision axis.

Question 2b: The HCC circuit

Same single-node architecture, different ERN and one addition: a Bias group that moves the threshold without touching either input weight.

CYP3A4 drives CasE; GPC3 drives a CasE-cleavable output message. A cell fires only when GPC3 is high and CYP3A4 is low. Putting the lost marker on the inhibitory arm is the right way round: a healthy hepatocyte, full of CYP3A4, shuts its own output off, so the failure mode of an under-transfected healthy cell is silence rather than killing.

Q2 circuit schematic: CYP3A4 promoter drives CasE, GPC3 promoter drives the CasE-targeted payload message, plus a constitutive bias group Q2 circuit schematic: CYP3A4 promoter drives CasE, GPC3 promoter drives the CasE-targeted payload message, plus a constitutive bias group

The Q2 node. The Bias group fires in every cell and sets the threshold.

DNA recipe

GroupPartConcentration (ng/µL)DNA (ng)
X1CasE50120
X1mKO250180
X2CasE_rec_mNeonGreen50200
X2eBFP250100
BiasCasE5030
BiasCasE_rec_mNeonGreen50170

Total 800 ng, at the per-circuit cap. The payload is a secreted anti-GPC3 × CD3 engager, which gives the design a double lock worth pointing out: the circuit classifies on GPC3 transcription and then outputs a molecule that only engages a T cell where GPC3 protein is on the surface. A cell that transcribes GPC3 but fails to present it is never killed.

The Bias group is the sensitivity knob

The Bias group carries both classes of part at once (a bare ERN and an ERN-targeted output) from a constitutive promoter, so it fires in every cell regardless of input. Mixing both classes was a deliberate test: I expected the extra output message to make the circuit more permissive. It does the opposite, consistently, across the whole sweep.

Bias groupERN share of Bias massMeasured left-edge X₂
nonen/a0.32
CasE 30 ng + CasE_rec 170 ng0.150.53
CasE 60 ng + CasE_rec 140 ng0.300.59
CasE 100 ng + CasE_rec 100 ng0.500.66

The left-edge is how much GPC3 a cell needs before the circuit fires when CYP3A4 is absent, so a larger number is a more conservative classifier. Constitutive ERN wins over constitutive output at every ratio tested. I picked 0.15, for the reason set out just below: it lifts the GPC3 threshold by two-thirds against the no-bias circuit while giving up the least CYP3A4 sensitivity, and it is adjusted by pipetting rather than by redesign.

What the bias costs

The sweep above reports only the left-edge, and that hides something. Re-measuring each heat map along both axes shows the Bias group buys threshold control by spending input sensitivity.

Bias ERN shareleft-edge X₂X₁ sensitivity ÷ X₂ sensitivity
none0.320.79
0.150.530.21
0.300.590.17
0.500.660.14

Adding any bias at all cuts the circuit’s use of CYP3A4 roughly four-fold, and the three bias levels differ little from one another after that first drop. Constitutive output and constitutive ERN both swamp the X1 arm.

This matters for this design in particular, because the entire argument for carrying two markers was that the boundary has to be oblique. At a bias share of 0.50 the circuit is close to a GPC3-only threshold, with CYP3A4 contributing about a seventh as much as GPC3, which is exactly the classifier the marker section argued against. 0.15 is therefore the defensible setting of the three: it captures most of the available threshold shift while keeping the most CYP3A4 sensitivity, and the recipe above uses it. The honest description of the Bias group is that it is a threshold knob with a price, not a free one.

One control worth recording: Q2’s no-bias circuit uses exactly the ratios of the Q1 circuit with CasE substituted for Csy4, and it does not land in the same place, left-edge 0.32 against 0.25, top-exit 0.72 against 0.60. The two ERNs are not interchangeable at matched DNA ratios, which the preprint states and this measures: about +0.07 and +0.12 in these units.

Four Predict heat maps for the Q2 bias sweep, showing the boundary retreating as the bias group’s ERN share rises Four Predict heat maps for the Q2 bias sweep, showing the boundary retreating as the bias group’s ERN share rises

The Q2 bias sweep. More constitutive ERN moves the boundary up and to the left, a more conservative classifier at every step.

Question 3: A freshwater eutrophication-risk biosensor

A bead of engineered E. coli in a passive-flow cartridge, left in a chalk stream or a wetland reserve, that turns blue-purple when the water crosses into the nutrient range where an algal bloom becomes likely. No instrument, no power, no sample shipping, a volunteer walks the bank and reads the colour.

Why this needs a perceptron rather than a logic gate

Eutrophication risk is not an AND of two thresholds. It is a weighted combination, and the weights are catchment-specific. Phosphorus is usually the limiting nutrient in fresh water, so a given rise in phosphate matters more than the same rise in nitrate, but not everywhere, and not in every season, and the nitrogen-to-phosphorus ratio of the water changes which one is limiting at all. A sensor built from AND gates has one answer baked into its promoters: to move the risk line you redesign the device. A neuromorphic node has the line set by the relative abundance of two DNA parts, so the same construct can be re-weighted for a different catchment by changing a ratio. That is the argument for the architecture here, and it is the same argument as in Q1 and Q2: the boundary is a parameter, not a part.

The circuit

The phosphate sensor comes pre-inverted, which is a piece of luck worth exploiting. The pho regulon is induced by phosphate starvation: PphoA fires when phosphate is scarce and goes quiet when phosphate is plentiful. The inhibitory arm of a neuromorphic node wants exactly that signal, something that shuts the output down when the water is clean, so PphoA drives CasE directly, with no inverter stage, no extra repressor and no extra delay.

Nitrate drives the output message through PyeaR, which is activated by NarL binding a single operator just upstream of the −35 element. The obvious choice, the native narG promoter, is a trap: it is nitrate-responsive only under anaerobic conditions because it also needs FNR, and a stream cartridge is oxygenated. PyeaR needs NarL alone. (If more dynamic range were needed, the published alternative is a narG fusion carrying the L28H FNR variant, which makes narG nitrate-inducible in the presence of oxygen.)

RolePartSets
X₁, inhibitoryPphoA → CasEw₁, the phosphate weight
X₂, excitatoryPyeaR → CasE_rec_amilCPw₂, the nitrate weight
Biasconstitutive CasE + CasE_rec_amilCPθ, the risk threshold

The output is amilCP, a blue-purple chromoprotein that needs no substrate and no cofactor and is visible in a packed bead by eye. In mammalian cells the weights are set by transfected DNA mass; in E. coli there is no transfection mass to vary, so the same ratios are set by plasmid copy number and RBS strength, a two-plasmid system with the ERN on a low-copy backbone and the output on a medium-copy one, with an RBS library to trim. The mechanism carries across; the numbers measured in HEK293 do not, and would have to be re-measured.

Q3 circuit schematic: PphoA drives CasE, PyeaR drives the CasE-targeted amilCP message Q3 circuit schematic: PphoA drives CasE, PyeaR drives the CasE-targeted amilCP message

The Q3 node. The phosphate promoter is already inverted, so it drops onto the inhibitory arm unchanged.

Deployment and containment

Cells are held in calcium-alginate beads in a flow-through cartridge with a 0.22 µm membrane: water and ions pass, cells do not. A field device releasing engineered E. coli into a protected waterway is unacceptable, so the strain also carries a thiamine auxotrophy and a cold-inducible toxin, which together mean an escaped cell does not survive the stream it falls into. The honest limit of the design is that none of it can be checked in the NeuromorphicWizard, which models mammalian cells, the circuit’s topology is validated there, its parameters are not.

From reporter to controller

Everything above uses the node to report. The same node can be made to act, and that is the more interesting use of a perceptron, because it closes a feedback loop through the environment rather than through the cell.

Keep the circuit identical and add a second output message, CasE_rec_ppk1, alongside CasE_rec_amilCP. Both are cut by the same CasE, so both are gated by the same classifier. Where the pigment says “this water is at risk,” polyphosphate kinase makes the cells accumulate polyphosphate and pull phosphate out of the water. Enhanced biological phosphorus removal already works this way in wastewater treatment; the difference here is that accumulation is gated on a two-input classifier rather than on growth phase.

The feedback is what turns it into a controller, and it runs through the water rather than through metabolism. As the beads strip phosphate, the phosphate concentration falls. PphoA fires when phosphate is scarce, so it fires harder, making more CasE, which cuts the ppk1 message and switches accumulation off. The device settles at the phosphate concentration where production and degradation balance, and that concentration is θ, set by the Bias group’s DNA ratio. It holds a setpoint instead of reporting a threshold crossing, and the setpoint is a number you pipette.

Two things follow that are worth naming. The nitrate arm stays in the loop, so the cells only strip phosphorus where nitrate is also high: a chalk stream that is naturally phosphate-rich but nitrate-poor is left alone rather than stripped of a nutrient it needs. And the beads become the harvest, pull the cartridge and the phosphorus physically leaves the catchment with it, which is the step that turns a measurement into a remediation.

The limits are real and worth stating in the same breath. Strong ppk1 expression carries a growth cost, so the controller trades throughput for capacity. A bead’s accumulation capacity is finite, which makes this a treatment for a side-stream or a farm ditch rather than for a river. And a device engineered to act on a protected waterway, rather than merely to measure it, is a far larger regulatory ask than one that changes colour, the containment described above becomes a requirement rather than a precaution.

Beyond a linear boundary: XOR from two cross-wired nodes

Every circuit above draws one line through the input plane. That is what a single ERN node is: a perceptron, and a perceptron cannot compute XOR. It is the textbook limit on single-layer networks, and it is the reason depth exists in neural architectures at all.

The parts sheet can express XOR anyway, and it does not need a hidden layer to do it.

The construction

Cross-wire two groups so that each group’s ERN targets the other group’s output message.

GroupERNOutput messageMarker
X1CasECsy4_rec_mNeonGreenmKO2
X2Csy4CasE_rec_mNeonGreeneBFP2

X1’s output survives only where X2 is low, because the Csy4 that would cut it lives in X2. X2’s output survives only where X1 is low. Both make mNeonGreen, so the two contributions add:

At the corners with k greater than 1: both off gives 0, either one alone gives 1, both on gives roughly 2/(1+k), which collapses. That is XOR, and the threshold condition k > 1 is a real constraint rather than a formality. At k = 1 exactly the circuit degenerates into OR.

The conceptual point is worth stating. A perceptron adds weighted inputs. This circuit adds two ratios, and competitive degradation is multiplicative rather than additive, so a non-linearly-separable function falls out of one layer.

Seven circuits

ERN share was swept from 0.30 to 0.70, with two extra circuits correcting the arm imbalance.

CircuitERN share(0,0)(1,0)(0,1)(1,1)GapArm ratioWindow
XOR_soft0.300.0220.7160.9340.6360.0801.310.500
XOR_sym0.400.0220.6880.9110.4710.2171.320.500
XOR_hard0.500.0220.6680.8770.2930.3761.310.450
XOR_bal0.50 balanced0.0230.7160.8710.3010.4151.220.400
XOR_max0.600.0230.6680.8130.1610.5081.220.430
XOR_best0.60 balanced0.0220.6900.6720.1500.5220.970.420
XOR_0700.700.0270.6220.6290.0650.5571.010.380

Both-off holds at 0.022 across the entire sweep. Both-on falls from 0.636 to 0.065 as the ERNs strengthen, while the single-input corners stay high. The best circuit gives a truth table of 0.02 / 0.69 / 0.67 / 0.15.

Three panels: the four XOR truth-table corners against ERN share, the gap peaking at 0.60 while the output window holds, and the truth table of the best circuit Three panels: the four XOR truth-table corners against ERN share, the gap peaking at 0.60 while the output window holds, and the truth table of the best circuit

Seven circuits. Both-on collapses while the single-input corners hold, and unlike the ladder the output window barely moves.

Three things the sweep settled

The normalised gap keeps climbing but the usable gap peaks at 0.60. Past that the output window shrinks faster than the contrast grows, so 0.60 is the optimum in real units, not 0.70.

Raising ERN share costs almost no brightness here, which is the opposite of the ladder. The window falls only from 0.500 to 0.380 across the whole sweep, against a twelve-fold collapse in the co-located ladder. The reason is structural: each output is protected from its own group’s ERN and suppressed only by the other group’s, so at the single-input corners the suppressor is simply absent and the output runs at full strength. Contrast is bought without starving the circuit.

The two arms are not equally strong, and the asymmetry is CasE against Csy4. At matched ratios the X2 arm reads 1.31 times the X1 arm. Shifting output DNA 1.86:1 corrects it to 0.97. The asymmetry also vanishes on its own at ERN share 0.70, which says it is a saturation effect rather than a fixed difference between the two enzymes. This is the same CasE/Csy4 difference that Q2 found independently, where matched ratios gave a left-edge of 0.32 on CasE against 0.25 on Csy4.

What this is not

The predictor is deterministic. The same recipe returns a byte-identical image every time, confirmed on three separate pairs by SHA-256. So nothing here has been replicated in any meaningful sense, and nothing in this tool can be: re-running a deterministic function is arithmetic, not evidence. Every number above is one evaluation of one model, read off a rendered heat map by averaging 3x3 cells of a 24x24 grid at each corner.

What supports the claim is not repetition but structure: a seven-point monotonic dose-response, a mechanism that predicted the threshold at k > 1 before the sweep was run, and an internal consistency check against Q2 that nobody designed for. What would settle it is building the circuits.

Four circuits built to break it

The sweep above tunes. None of it tries to falsify, and a seven-point curve from a deterministic model is not evidence that the mechanism is the one claimed. Four further circuits were run after the design was frozen, each chosen so that a specific claim in this section would fail if the claim were wrong.

TestWhat would breakWhat happened
XOR_dose_lo, XOR_dose_hiIf the truth table moves with total DNA, a weight is not a ratio, and every number above is tied to a mass nobody chose deliberately.The same six ratios at 450, 600 and 791 ng give truth tables agreeing to 0.002 prediction units, and colourbar ranges agreeing to 0.0005.
XOR_swapIf the arm asymmetry is tied to group position rather than to CasE against Csy4, the mechanism described above is wrong.Exchanging the two ERNs between groups exchanges the two arms. Both-off and both-on hold, at 0.004 and 0.545.
Reading in from the cornerIf the separation needs the extreme edge of the swept range, the gate has an operating window that this section never states.It does. The gap is 0.287 at the corner, 0.129 at 5 percent in, 0.007 at 10 percent, and negative past 11 percent.
XOR_slotIf the residue left over from XOR_swap is the two markers, which were not exchanged, then exchanging those as well should complete the mirror.It does not. Exchanging both markers reproduces XOR_swap to 0.0003, at the replicate floor. The markers are inert, and the residue is positional.

Mass. XOR_dose_lo and XOR_dose_hi hold the chosen circuit’s ratios at 450 and 791 ng, a 1.76 times spread either side of the 600 ng used throughout. The three heat maps are the same picture: pixel values differ by at most 4 parts in 765, and the two colourbar strips are byte identical. For the lab build this is the useful half of the result, because it says the ratios have to be right and the absolute masses do not.

Chemistry. XOR_swap is XOR_sym with CasE and Csy4 exchanged between the two groups, and the two markers deliberately left where they were. XOR_sym carries its stronger arm on X2, XOR_swap on X1. Compared across the full 24 by 24 grid, XOR_swap matches XOR_sym reflected about the diagonal five times better than it matches XOR_sym unreflected. The exchange is not exact. About 7 percent of the arm ratio does not follow the enzymes, and that residue sits on the two arm corners and nowhere else. A fourth circuit tested the obvious explanation. XOR_slot exchanges the two markers as well, so that every attribute of a group travels with it, and it changed nothing: XOR_slot reproduces XOR_swap to 0.0003, which is at the replicate floor. The markers are inert and carry none of the residue. Nor is the residue an artefact of the per-plot colour scale, which would grow with the value. Both-on sits at 0.539 and shows a residue of 0.001, while the two arm corners show plus 0.012 and minus 0.009. What is left is positional, something about being the first group rather than the second, and it cannot be isolated further in this tool, because input_order is built from slot order and so a group’s recipe slot and its plot axis are the same variable.

Window. This test found something the rest of the section does not say. Reading the four corners progressively further in from the plot edge collapses the separation, and past 11 percent of the swept range both-on overtakes the weaker arm and the logic inverts. The gate works, but the off input has to be genuinely near zero: at a tenth of full dose it has already halved the arm it is suppressing. Stated as a design claim, this is a high-gain XOR with a narrow input window rather than a robust one, and that belongs next to the claim that it computes XOR at all.

Three panels. A: the four truth-table corners plotted against total DNA at 450, 600 and 791 ng, every corner flat. B: grouped bars of the four corners for XOR_sym, XOR_swap and XOR_slot, with the two single-input arms exchanging when the enzymes are exchanged, and the XOR_slot bars identical to the XOR_swap bars when the markers are exchanged as well. C: the XOR gap plotted against distance in from the corner, falling from 0.287 to zero by 11 percent of the swept range and going negative beyond it. Three panels. A: the four truth-table corners plotted against total DNA at 450, 600 and 791 ng, every corner flat. B: grouped bars of the four corners for XOR_sym, XOR_swap and XOR_slot, with the two single-input arms exchanging when the enzymes are exchanged, and the XOR_slot bars identical to the XOR_swap bars when the markers are exchanged as well. C: the XOR gap plotted against distance in from the corner, falling from 0.287 to zero by 11 percent of the swept range and going negative beyond it.

Four circuits built to break the result. The weights survive a mass change, the asymmetry follows the enzymes and not the markers, and the gate turns out to have a narrow input window.

A correction to the method. Corner values elsewhere in this document are luminance read off each heat map and normalised between that plot’s own lightest and darkest pixel. That is a monotone but non-linear function of the prediction value, so it is sound for ranking circuits against each other and unsound for reporting prediction units. These three runs were read instead by matching every pixel against the plot’s own colourbar strip, which inverts the colourmap exactly. On that scale the chosen circuit reads 0.05, 0.45, 0.43 and 0.14, with an arm ratio of 0.96 rather than 0.97. The ranking across the sweep is unchanged, and the Gap column in the table above should be read as a normalised quantity rather than in prediction units.

Appendix A: How the weights were tuned

Eighteen Predict runs, seventeen of which captured cleanly, each measured rather than eyeballed. The loop was: change one DNA ratio, run Predict, extract the half-maximum contour from the heat map numerically, compare against the previous run on identical geometry. Re-capturing and re-measuring the same recipe puts the noise floor at ±0.025 in normalised units, so anything smaller than that was not treated as a difference.

The two knobs are separable, in one order

Output share of X2 (how much of the X2 mass is the ERN-targeted message rather than the marker) moves the left-edge steadily: 0.833 → 0.19, 0.667 → 0.28, 0.600 → 0.30, 0.500 → 0.37. It does something more violent to the top-exit, which collapses from 0.66 to 0.17 over the same range, and at 0.833 the boundary never reaches the top of the plot at all; it exits the right edge instead. That is the saturated regime: so much output message that the ERN cannot clear it anywhere in the input range.

ERN share of X1 does almost the opposite. Across 0.333 → 0.700 the left-edge barely moves (0.28 → 0.21, most of it inside two noise floors) while the top-exit falls nearly linearly from 0.66 to 0.31.

That near-orthogonality is what made the tuning tractable: set the output share first to put the left-edge where Figure 1 wants it, then sweep the ERN share to bring the top-exit in without disturbing it. Doing it the other way round does not converge.

Three panels showing how the boundary responds to output share, ERN share and bias share Three panels showing how the boundary responds to output share, ERN share and bias share

Eighteen Predict runs. Panel A moves the left-edge, panel B moves the top-exit, panel C is the Q2 threshold knob.

What was predicted wrong

The measurement loop existed because the predictions kept failing, and recording the failures is more useful than hiding them.

  • A bias sweep at 25, 50 and 100 ng returned three identical boundaries. This was read as ERN saturation. It was not; the Bias group’s mass was not reaching the predictor at all (see Appendix B).
  • The first slope ladder moved the ERN share down when the target required moving it up, and confounded the result by raising the output share to 0.833 at the same time, into the saturated regime described above. Two wrong moves at once, so neither was diagnosable.
  • A circuit at ERN share 0.70, output share 0.83 was predicted to land at (1.37, 0.25). It measured (0.39, 0.13).
  • Making the two parts within a group incoherent was predicted to produce a bandpass response. This one was half right, and only found to be half right on re-measurement: the boundary stays monotonic in X₁, but NM5 and NM6 do carry a local maximum at low X₂, growing with the ERN share inside the group. The effect is real, an order of magnitude smaller than predicted, and in the wrong input.
  • The mixed-class Bias group was predicted to be permissive, on the reasoning that it adds output message. It is conservative at every ratio tested, by a wide margin.

Five predictions, four clean failures and one that was directionally right but wrong about both the size and the input, all caught by measuring, and the last of them only on a second pass. The useful conclusion is not about any one of them: it is that intuition about a two-arm competitive-degradation network is unreliable in both direction and magnitude, and the cost of checking is one Predict run.

Six Predict heat maps from the Csy4 share ladder, from 0.333 to 0.700 Six Predict heat maps from the Csy4 share ladder, from 0.333 to 0.700

The ERN-share ladder. The blue wedge retreats towards the top-left as Csy4 rises; 0.400 is the submitted recipe.

Appendix B: Other circuits, and one design rule worth keeping

Co-locating an ERN with its own target destroys the second input

Four exploratory circuits put the bare ERN and its targeted output message in the same transfection group, to see whether competition inside a group would buy anything. It does not, and the way it fails is informative.

CircuitX1X2Result
NM1_loopPgU 100, mKO2 200Csy4 120, Csy4_rec_mNeonGreen 120, eBFP2 60boundary flat in X1; output range 0.05–0.21
NM2_dualPgU 120, PgU_rec_Csy4 120, mKO2 60Csy4 120, Csy4_rec_mNeonGreen 120, eBFP2 60near-flat, slight tilt; range 0.04–0.13
NM5_ern60PgU 100, mKO2 200Csy4 180, Csy4_rec_mNeonGreen 60, eBFP2 60flat; range 0.04–0.08
NM6_ern75PgU 100, mKO2 200Csy4 225, Csy4_rec_mNeonGreen 45, eBFP2 30flat; range 0.04–0.067

Every one of them collapses to a horizontal boundary, a threshold on X2 alone, with X1 doing essentially nothing. The reason is straightforward once seen: when the ERN and its target sit in the same group, both scale with that group’s input, so their ratio is constant and the competition between them carries no information about the other input. Raising the ERN share within the group (NM5, NM6) does not restore X1 sensitivity; it only crushes the dynamic range, from a peak of 0.21 down to 0.067.

Four Predict heat maps of the exploratory circuits, all showing horizontal boundaries independent of X1 Four Predict heat maps of the exploratory circuits, all showing horizontal boundaries independent of X1

All four boundaries are horizontal. Co-locating the ERN with its target turns a two-input classifier into an X₂ threshold.

The rule: a two-input classifier needs the ERN and its target in different transfection groups. That is why the Q1 and Q2 circuits put the ERN in X1 and the targeted message in X2, and it is worth stating because the opposite arrangement produces a plausible-looking heat map that is quietly a one-input device.

Three things the NeuromorphicWizard did unexpectedly

All three sit in the seam where recipe rows are converted into a network, and all were reproducible.

  1. Bias group mass was ignored. A sweep at 25, 50 and 100 ng of Bias DNA returned byte-identical boundaries. The Bias rows were parsed, the circuit ran, but the ng value did not reach the predictor. The bias sweep in Q2 was only interpretable once the recipe was restructured so the Bias group’s composition, not just its mass, changed.
  2. A recipe and its own network disagreed about the inputs. Two circuits returned HTTP 500 with input_order missing proteins: {'mNeonGreen'}. Network has inputs: ['mKO2', 'mNeonGreen'], recipe specifies: ['mKO2', 'eBFP2'], the network had inferred mNeonGreen as a per-group marker while the recipe named eBFP2, and the two lists were never reconciled.
  3. An undocumented limit of three parts per group. A group appears to accept one bare ERN, one ERN-targeted message and one fluorophore. Adding a fourth part does not error; the extra part is silently absent from the result.

Proposed for lab synthesis

The XOR circuits have overtaken everything else here, including the response-type ladder that briefly held this slot and now sits in Appendix C.

First choice: the XOR trio. Three circuits built from the same six parts, where the only variable is how the DNA is split between them. The model says the first shows essentially no XOR, the second a partial one, and the third a clean truth table of 0.02 / 0.69 / 0.67 / 0.15.

The design carries its own negative control, which is what makes it worth a bench slot. XOR_ctrl and XOR_best are the same constructs in the same wells at the same total mass. If the third shows XOR and the first does not, that difference cannot be an artefact of which plasmids were built, because they are identical plasmids. The only thing that differs is pipetting. Few experiments get a control that tight for free.

It is also bright. The output window runs around 0.42 prediction units, roughly thirty times the ladder’s 0.014, so this is not a signal anyone has to hunt for at the edge of detection.

CircuitX1X2TotalPredicted
XOR_ctrlCasE 90, Csy4_rec_mNeonGreen 150, mKO2 60Csy4 90, CasE_rec_mNeonGreen 150, eBFP2 60600 ngno XOR, gap 0.040
XOR_midCasE 150, Csy4_rec_mNeonGreen 90, mKO2 60Csy4 150, CasE_rec_mNeonGreen 90, eBFP2 60600 ngpartial, gap 0.169
XOR_bestCasE 162, Csy4_rec_mNeonGreen 78, mKO2 60Csy4 198, CasE_rec_mNeonGreen 42, eBFP2 60600 ngfull XOR, gap 0.219

Second choice: the dose series. The Q1 classifier itself, built three times at identical ratios and different total mass, answering a question that matters for anything therapeutic:

CircuitX1X2Total
Q1_dose_loCsy4 90, mKO2 135Csy4_rec_mNeonGreen 150, eBFP2 75450 ng
Q1_UvealMelanomaCsy4 120, mKO2 180Csy4_rec_mNeonGreen 200, eBFP2 100600 ng
Q1_dose_hiCsy4 158, mKO2 238Csy4_rec_mNeonGreen 264, eBFP2 132792 ng

All three hold the ERN share at 0.400 and the output share at 0.667; only the absolute mass changes, by 1.76-fold end to end. Is the decision boundary set by the DNA ratio alone, or does it move with total DNA? The simulation assumes the former. If the wet-lab answer is the latter, then every weight in a neuromorphic circuit is a function of transfection efficiency, and a therapeutic built this way would re-tune itself cell by cell, which is exactly the failure mode a classifier that kills cells must not have. Three wells, one answer, and poly-transfection already gives the per-cell marker readout needed to see it.

Appendix C: Response shapes a single node can make

This began as part of Q1 and outgrew it. It sits here because the result it reaches, a response-type switch driven by one DNA ratio, is almost certainly an artefact of the predictor rather than a claim about cells. The reasoning it rests on is sound; the regime it appears in is not one the model should be trusted in. It is recorded in full because the measurements were made carefully and a negative result found honestly is worth as much as the positive one in the XOR section.

Which response shapes one node can make

Figure 1 asks for a half-plane, and that is the one shape a single ERN node makes naturally. Worth being explicit about why, because it bounds what the rest of this document can claim.

The node computes f(w₂X₂ − w₁X₁ − θ) with f monotonic and saturating, so both partial derivatives keep their sign everywhere and every contour crosses the plane exactly once: a high-pass along (+X₂, −X₁). A low-pass is the same node re-wired rather than a second node, put the output message in the Bias group and an ERN in both input groups, giving f(θ − w₁X₁ − w₂X₂), high only when both inputs are low. A band is the one that cannot be reached, because it needs the output suppressed at both ends of an input, and a single monotonic term cannot do that.

I tested this rather than assuming it. Profiles were extracted numerically from every heat map (output averaged over one axis to give the response along the other) across 17 valid captures. (Eighteen were taken; one caught the Recipe JSON panel instead of the plot and is excluded. It was a duplicate of the submitted circuit, so no measurement in this document depends on it.)

ArrangementnX₁ sensitivity ÷ X₂ sensitivityNon-monotonic lobe
ERN and target in separate groups91.16none, 0.000 in all nine
Separate groups plus a Bias group40.33none
ERN and target co-located40.06present above ERN share 0.40

Two results come out of that. The first is the design rule already in Appendix B, now with a number on it: co-locating the ERN with its target leaves the circuit using 6% as much of its second input as the split arrangement. The second corrects a claim I made earlier in this document. The co-located circuits are not simply monotonic: NM5 and NM6 carry a real local maximum at low X₂, reaching 0.14 and 0.26 of full scale, well clear of the ±0.025 noise floor, and the lobe height grows with the ERN share inside the group: 0.40 gives nothing, 0.60 gives 0.14, 0.75 gives 0.26. One caveat belongs on that third point. NM6 also halves its X₂ marker, from 60 ng of eBFP2 to 30 ng, and the marker is what defines the X₂ axis, so the step from 0.60 to 0.75 confounds ERN share with the readout itself. The step from 0.40 to 0.60 is clean, since NM1 and NM5 both carry 60 ng, and that step alone is enough to show the effect exists. A marker-matched ladder, varying only the ERN-to-output split, is the experiment that would settle it. That ladder was built and run, and the next section reports it: the trend does not merely continue, it changes the circuit’s response type. The production-versus-degradation competition does produce the predicted non-monotonicity. It is simply confined to the low-dose corner, and it costs the second input entirely.

There is also a limit in the parts sheet itself, which I think is the sharper constraint. Every output part (Csy4_rec_mNeonGreen, CasE_rec_mNeonGreen, PgU_rec_mNeonGreen) carries exactly one target site, and so does every ERN-targeting part. No part can be cut by two different ERNs, so the two opposing controls a band needs cannot both be placed on one output species. Co-expressing two output parts does not rescue it: both make mNeonGreen, so their contributions add, and a sum of two opposite-direction saturating curves gives a valley, not a peak. A band therefore needs genuine depth, a second ERN layer, and no amount of ratio tuning substitutes for it.

Three panels: input sensitivity by circuit arrangement, X2 response profiles showing a low-dose lobe, and lobe height against co-located ERN share Three panels: input sensitivity by circuit arrangement, X2 response profiles showing a low-dose lobe, and lobe height against co-located ERN share

Response shapes measured across 17 circuits. Co-locating the ERN with its target is the only arrangement that produces non-monotonicity, and it costs 94% of the second input to get it.

The marker-matched ladder: a high-pass becomes a bandpass

Five circuits, with eBFP2 pinned at 0.20 of the X2 group in every one, so the only thing that varies is how the remaining 0.80 splits between Csy4 and Csy4_rec_mNeonGreen. Two of the five duplicate NM1 and NM5 and were re-run from scratch as replicates.

ERN sharelow-X₂ peakhigh-X₂ plateauShapeOutput window (prediction units)
0.400.090.92high-pass0.165
0.500.130.92high-pass0.115
0.600.250.92high-pass0.048
0.700.820.70bandpass0.014
0.750.740.08bandpass0.014

The replicates come first, because they set what counts as a difference. The 0.40 circuit was run three times across two days, in three different browser window sizes, each time with a fresh Predict call, screenshot, crop and measurement. Its lobe metric came back at 0.000 on all three, and the underlying X₂ profile range reproduced with a standard deviation of 0.008 on a 0–1 scale. The 0.60 circuit was also run three times, returning lobe heights of 0.138, 0.143 and 0.144, a standard deviation of 0.003. The 0.70 circuit matters most, since it is the one carrying the inversion and therefore the claim; it was run twice and reproduced point for point, with a low-X₂ peak of 0.815 then 0.807 and a high-X₂ plateau of 0.695 both times. The margin between peak and plateau that defines the bandpass is roughly 0.12, about twenty times the reproducibility figure below. That spread is not what I first took it for, and the correction matters. The predictor is deterministic: three separate recipes, each re-run under a different name at a different time, returned byte-identical renders with matching SHA-256 hashes. Re-running a recipe in the Wizard is therefore not replication in any useful sense, and the spread above is not the model’s run-to-run variability, because it has none. What actually differed between those three runs of the 0.40 circuit was the browser window size, so the plot rendered at different pixel dimensions and the crop-and-measure step returned slightly different numbers. The ±0.005 figure is the sensitivity of the measurement pipeline to render scale, and nothing more. It bounds how much of the ladder could be an artefact of how the heat maps were read, which is worth knowing, but genuine replication of anything in this document requires building the circuits in cells. Every change in the table above is more than an order of magnitude larger than it.

What the table shows is not a lobe growing. It is a change of response type. Below an ERN share of roughly 0.65 the node is a monotonic high-pass in X₂: maximum at high X₂, with a small bump near the bottom. Above 0.65 the global maximum moves to low X₂ and the high-X₂ plateau collapses; at 0.75 the plateau has fallen to 0.08 while the low-X₂ peak stands at 0.74. The circuit has become a bandpass, and the only thing that changed is the ratio of two plasmids inside one transfection group.

That is the response shape a single node is usually said to be unable to make, and the reasoning for that is sound as far as it goes: one saturating term cannot suppress an output at both ends of an input. What the ladder shows is that a co-located ERN and target are not one term. The ERN’s own production scales with the same group dose that drives the output, so the node carries a ratio that is itself dose-dependent, and above a threshold that ratio reverses the sign of the response.

Two costs come with it, and they are large enough that this is a finding about the model rather than a design recommendation. The usable output window falls twelve-fold across the ladder, from 0.165 prediction units at 0.40 to 0.014 at 0.70 and above, the interesting shape is bought by throwing away most of the signal. And X₁ sensitivity never exceeds 3% anywhere on the ladder, so every circuit here is a one-input device. A bandpass in one input with the other input dead is not the two-input bandpass a classifier needs, which is where the multi-node analysis cited above still holds.

What I would not claim is that any of this happens in cells. It is one model’s prediction, and the regime where the inversion appears (very little output DNA, almost all ERN) is also the regime where that model is extrapolating furthest from anything it is likely to have been trained on. A 0.014-unit window is exactly where a predictor’s artefacts live. That is the reason this ladder, rather than the dose series, is what Appendix B now proposes for synthesis: the prediction is a qualitative shape change, which survives calibration error in a way that a 10% shift in a boundary position does not.

Three panels: X2 response curves inverting across five ERN shares, the crossover of low and high peaks near 0.65, and the output window falling twelve-fold Three panels: X2 response curves inverting across five ERN shares, the crossover of low and high peaks near 0.65, and the output window falling twelve-fold
Pick an ERN share inside the co-located X2 group
00.51.001.0X₂ (normalised)out
high-pass · peak at high X₂
low-X₂ peak 0.09high-X₂ plateau 0.92output window 0.165
high-pass · peak at high X₂
low-X₂ peak 0.13high-X₂ plateau 0.92output window 0.115
high-pass · peak at high X₂
low-X₂ peak 0.25high-X₂ plateau 0.92output window 0.048
bandpass · peak has moved to low X₂
low-X₂ peak 0.82high-X₂ plateau 0.70output window 0.014
bandpass · peak has moved to low X₂
low-X₂ peak 0.74high-X₂ plateau 0.08output window 0.014

The marker-matched ladder. The response type changes between an ERN share of 0.60 and 0.70, and the dynamic range pays for it.

AI use declaration

**Model****s: Claude Opus 5 and Claude Fable 5.2 (Anthropic), used in November 2026. It was used for finding research papers, articles and helping creating relevant figures from data from the neuromorphic circuit data. It helped me lightly draft the homework.

Prompts given

In order, lightly cleaned of typos:

  1. Are there any diseases for which we can make a neuromorphic circuit and require cell therapy?
  2. “Can you crop and edit and insert these images where needed in the homework please, add all other screenshots, and let me know what else you need, just finish all the homework though.”

References

Neuromorphic circuits

Q1: uveal melanoma payload

  • US Food and Drug Administration (25 January 2022). FDA approves tebentafusp-tebn for unresectable or metastatic uveal melanoma. fda.gov
  • Nathan, P., Hassel, J. C., Rutkowski, P., et al. (2021). Overall survival benefit with tebentafusp in metastatic uveal melanoma. New England Journal of Medicine, 385(13), 1196–1206.
  • Howlett, S., Carter, T. J., Shaw, H. M., & Nathan, P. D. (2023). Tebentafusp: a first-in-class treatment for metastatic uveal melanoma. PMC10031621 . Source for the HLA-A*02:01 prevalence figure.

Q2: HCC markers

  • Roessler, S., et al. (2010). A unique metastasis gene signature enables prediction of tumor relapse in early-stage hepatocellular carcinoma patients. Cancer Research, 70(24), 10202–10212. doi.org/10.1158/0008-5472.CAN-10-2607 . The GSE14520 cohort.

  • Evaluation of the potential of tumoral glypican-3 mRNA level as a diagnostic and prognostic biomarker in HBV-related hepatocellular carcinoma. Ege Journal of Medicine. egetipdergisi.com.tr . GSE14520 log-fold-change 4.82, adjusted p = 1.43×10⁻⁷⁹.

  • Hu, S., et al. (2015). Severely impaired and dysregulated cytochrome P450 expression and activities in hepatocellular carcinoma. Molecular Cancer Therapeutics. doi.org/10.1158/1535-7163.MCT-15-0274 . CYP3A4 mRNA and protein levels in 35 paired resections.

  • Capurro, M., et al. (2003). Glypican-3: a novel serum and histochemical marker for hepatocellular carcinoma. Gastroenterology. gastrojournal.org

  • Ren, X., et al. (2018). Downregulation of CYP2A6 and CYP2C8 in tumor tissues is linked to worse overall survival and recurrence-free survival from hepatocellular carcinoma. BioMed Research International. doi.org/10.1155/2018/5859415 . CYP3A4 among seven CYP450 genes confirmed downregulated in both GSE14520 and GSE36376 (240 tumours, Illumina HumanHT-12 V4.0).

Q3: environmental sensing parts

  • Activation by NarL at the Escherichia coli ogt promoter. PMC7419079 . NarL activation via a single 7-2-7 operator, including at the yeaR–yoaG promoter.
  • A whole-cell biosensor for nitrate using the narG promoter. Applied and Environmental Microbiology (2005), 71(12), 8537–8547. doi.org/10.1128/AEM.71.12.8537-8547.2005 . narG is nitrate-responsive only anaerobically; the L28H FNR variant restores nitrate induction in the presence of oxygen.

All pages were opened and read; figures cite the specific values taken from each.