Fixing circuit.py