add ex4 and ex5