exporting module, need to add a callback