Use destructuring rather than hashes