corrected mistakes in the circuit