Only did first exercise of chap 5