updated ex2.tex