calcDist change to ndis check!! All things but Discon working