finish all the task of ex2