refactor(add require): use destructuring for required identifiers.