removed the pub key constant in the code