converted exports to module.exports