finish ex2.1~3