ex6 and 7