ex47 almost done