Relations between cards and stacks