finished destructuring stuff