2 implementations of 2.17, one with destructuring