add in public key creation