Then the submitted data is processed and grouped into clusters as demonstrated in Algorithm 2. It would ensure that information submitted is verified by using a loop to go over each registered oracle. The clustering process takes place by comparing the input data with the data that already exists in the clusters. If the new data is similar to one of the available clusters, then the oracle is added to that particular cluster accordingly else a new cluster is created. Then, the appropriate cluster is chosen by selecting the cluster with the highest number of oracles. It should be noted that the credibility of oracles is also taken into account when selecting the cluster. However, for this paper, the credibility value was fixed for simplification. Finally, the centroid of the trustworthy cluster will be found and used to update the ledger.