prepared ex5 & ex6