modified ex5