adjusting interface to allow for retrieval of public key
working on line logic and implementation