Adding card generation.