example 3 almost done