finished ex4, in the middle of ex5