new cards and updated code