change gmae to match n cards