Added the ability to display cards and implemented card total