changed modules to exports