parse subcircuit hopefully implemented nicely