refactor cards into a separate selection