Distance measurement examples