considering making the cards a class instead of a dict