notes for an updated distance calculation