added priliminary private key code