The last way worked but I wanted to get more than just the key