Replaced card array with Optional<Card> array