I fixed the rdf code but screwing up the distances code