need to encrypt and change long to bigint