added measurement to distance