implment ModuleThread