using print_card action in topvar