added ability to initialize module