ledger and related models done