part2 how to write a spider