finish ex1, 2