Add distance measurement