ex4 done.