add ex5
complete ex5