initial ex5 & ex6