added ability to find distance, not using it