Added distance measurer.