added subcircuit start and end processing