How to find short circuits