Changed get_cards calling location