done ex6, adding ex7
done with ex6