working on module generator