added card type and print out to console