generated module template and modified source file