made changes in card.h