writeup for worksheet 8