https://dev.to/venkateshpala/building-ledger-the-right-way-5h5g