added circuitinfo class