minor refactor in deck and card class