almost finished implementing buying of cards