code for program group module