a ledger is used to keep a records of accounts.