added the circuit model