ex4 and ex6