finish ex3.4