Changed the way to exports the module