cards are now objects