cards show properly but still missing some functionality