initial attempts at distance

added our intial attempts at distance.