remove method to add a subcircuit