fixed Ex6 ! done !