reworked the module exports