removed unncessary formatting in the Module factory function