add ledger full functionality and add group