updated distance formatting