working on destructuring assignment