ex2 almost done