finished implement of distance from log