Correct way of parameter passing to ledger.