fixing variable in cards.
Building entire cards dict in one go.