some work on ex6