I can't get any of these to save a debit or credit transaction

    db.put([checkbook, total] + to_save)

worked but only would save the total and checkbook. if I tried to create a transaction nothing is being saved.