get key for node