update _program_module method. this should be correct.