add card almost working