make cards comparable