did up to exercise 5, doing extra credit later.