added separation on ledger. \ fixed some minor bugs. \