distance detection v1