Code formatting, duplicate cards