recoded functions, changed card displays
recoded functions, changed card display