tighten up lecture 8 and 9