got rid of function to use next to latest ledger as lastLedger