Added list function. Now returns created key.