reworked the module imports to use obj destructuring