core-card example working