changed from public to private key