pass public_key instead