modifing how cards are displayed