Tri-state optimization.