finished Ex3