Updated loadCards to throw appropriate exception