Slight generalization of CurrentCard.