Made adding cards take card names as parameter.