select cards by class