hash cards, anti-cheating, refactoring