diff --git a/distance-oracle/src/bin/all.rs b/distance-oracle/src/bin/all.rs
new file mode 100644
index 0000000000000000000000000000000000000000..3fb80ae0f7be7c125b683fff874ad4a011b49cf1
--- /dev/null
+++ b/distance-oracle/src/bin/all.rs
@@ -0,0 +1,27 @@
+use distance_oracle::api;
+
+// computes distance result for all identities with status other than Revoked
+// this allows to have a recent estimate of the distance computation
+
+#[tokio::main]
+async fn main() {
+
+    simple_logger::SimpleLogger::new()
+        .init()
+        .unwrap();
+
+    let client = &distance_oracle::api::client(cli.rpc_url.clone()).await;
+
+    let parent_hash = api::parent_hash(client).await;
+
+    let max_depth = api::max_referee_distance(client).await;
+
+    let current_pool_index = api::current_pool_index(client, parent_hash).await;
+
+    let evaluation_block = parent_hash;
+
+    let mut certs_iter = api::cert_iter(client, evaluation_block).await;
+    let mut members_iter = api::member_iter(client, evaluation_block).await;
+
+    // TODO
+}