When you closed the circuit, the wire had electric current flowing through it.
(you; closed; the circuit) (the wire; had; electric current flowing through it; T:When you closed the circuit) (electric current; flowing; through it)
you the wire electric current
closed had flowing
the circuit
electric current flowing through it T:When you closed the circuit
through it