changing wires to curves