Changed function names for getting address and public key