changed PIDGet to GetDistance