modules exported as functions - not smart - testing difficult