adding variables to card file