in theory, Cards.hs functions are now all stateful. hopefully.