finished part3 of ex10