change location.B -> location.D