add key.name method