made Card comparable