how would you do that with destructuring