add equality comparison for cards