Getting dist.