makeCard() function working, may still have bugs