finish ex1.1 ex1.2