https://medium.com/@prakash_pun/how-to-write-cleaner-code-using-destructuring-in-javascript-ebf8a47e5bb3