updated for transistor based detect/disconnect