Done up to end of ex5