working on addCard() and addPieChartCart() in index.js