added fsr_circuit.c