adding some private key stuff