done with training and modeling of distance measurment