ex6 not finished