modified getAllShardsInfo()