card-n procedure implemented