Added gates and card obfuscation