modified ex_04_10