adding card by event method