added ledger parsing