added getLedgerRange