almost done with ex7;