upgrade understand.Circuit