Add ex4 and ex5.