replaced exports with module.exports