Changed GetAllCards to GetAllCodes