modified ex_06_05