numCards is now cards.length