make cards_found static and add missing initialization