lib/card.js
function (params, cb) {
                  DB.getCardState(params.cardKey, params.legacyCardKey, function (err, state) {
                    cb(null, params, state);
                  });
                }
function (params, cb) {
                  DB.getCardState(params.cardKey, params.legacyCardKey, function (err, state) {
                    cb(null, params, state);
                  });
                }
function ( params , cb ) { DB . getCardState ( params . cardKey , params . legacyCardKey , function ( err , state ) { cb ( null , params , state ) ; } ) ; }
load previously saved state
load previously saved state