modified ex2