added crypto-code