$distance now private