fixes #32 changed exports to module.exports