some work on private keys