the potential difference between A and B is zero