add ex5 and modified old files