up through exercise 6.4