Finished card_init, untested