Getting and laying out cards