Sensing of TNFα and IL22 serum levels using the corresponding receptors and linking their downstream signaling in an AND-gate logic enabled the expression of the anti-inflammatory cytokines IL4 and IL10 to treat psoriasis or prevent its development. The gene discussed is TNF; the disease is psoriasis.