In distance protection, the relay measures _________.