[refactor]  .name was deprecated, replaced with .key