Implement upto 4 ledger lines and 4 levels