Make cards array accessible from outside