complete ex5_2