Attempting Problem 8