Added dynamic card generation