issue #1 fixing minor fix, mistakenly added :key instead of &key